DevForce Help Reference
Cast<TResult>() Method


Converts the elements of an EntityQuery{T} to the specified type.
Syntax
'Declaration
 
Public Function Cast(Of TResult)() As EntityQuery(Of TResult)
'Usage
 
Dim instance As EntityQuery(Of T)
Dim value As EntityQuery(Of TResult)
 
value = instance.Cast(Of TResult)()
public EntityQuery<TResult> Cast<TResult>()

Type Parameters

TResult
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityQuery<T> Class
EntityQuery<T> Members

Send Feedback